package cn.ulyer.common.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
* @author: ulyer
* @Date: 2021/8/17
* @Description:
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Log {

    /**
     * 模块
     * @return
     */
    String module() default "system";
    /**
     * actionType
     */
    String action() default "";


     interface ActionName{
        String CREATE = "创建";

        String UPDATE = "修改";

        String DELETE = "删除";
    }

}
